package com.hoshiicloud.purchase.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-03
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "采购单聚合对象", description = "")
public class PoBillDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * po主单
     */
    @ApiModelProperty(value = "po主单")
    private PoDTO poDTO;
    /**
     * po子单列表
     */
    @ApiModelProperty(value = "po子单列表")
    private List<PodetailDTO> podetailDTOList;
}
